package com.se.nju.rtvps.main;

import net.jxta.discovery.DiscoveryService;
import net.jxta.peergroup.PeerGroup;

import com.se.nju.rtvps.network.RTVPSPeerGroup;

public class StartUp {

	public static RTVPSPeerGroup peerGroup;
	public static void main(String[] args){
		try {
			peerGroup = new RTVPSPeerGroup();
			peerGroup.start();
			while(true){
				Thread.sleep(2000);
			}
		} catch (Exception e) {
			e.printStackTrace();
		}
		
	}
	
	public static RTVPSPeerGroup getRTVPSPeerGroup(){
		return peerGroup;
	}
}
